﻿using System.Windows.Controls;

namespace FR.SAFTAnalyserLite.Views
{
    /// <summary>
    /// Interaction logic for TaxView.xaml
    /// </summary>
    public partial class TaxView : UserControl
    {
        public TaxView()
        {
            InitializeComponent();
        }

        private void dataGridTaxEntries_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (dataGridTaxEntries.SelectedItem != null)
                dataGridTaxEntries.ScrollIntoView(dataGridTaxEntries.SelectedItem);
        }
    }
}
